package com.gary.chainOfResponsibility;

/**
 * 2号处理
 * @author peng_rui
 * @date 2023/9/13
 */
public class SecondHandler implements ChainHandler{
    @Override
    public void process(ChainContext context) {
        String record = context.getRecord();
        record = record + " second -> ";
        context.setRecord(record);
    }
}
